package org.spring.context.annotation;

import org.spring.beans.factory.annotation.AnnotatedBeanDefination;
import org.spring.beans.factory.support.GenericBeanDefination;
import org.spring.core.type.AnnotationMetaData;

public class ScannedGenericBeanDefination extends GenericBeanDefination implements AnnotatedBeanDefination{

	private AnnotationMetaData annotationMetaData;
	public ScannedGenericBeanDefination(AnnotationMetaData annotationMetadata) {
		super();
		this.annotationMetaData = annotationMetadata;
		setBeanName(annotationMetadata.getClassName());
	}

	public AnnotationMetaData getMetadata() {
		return this.annotationMetaData;
	}

	

}
